package com.lishe.lishe.lishe.module.myorder.bean;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by shino on 2017/12/27.
 */

public class BaseOrderDataBody <T> implements Serializable {
    @SerializedName("pageSize")
    private int pageSize;
    @SerializedName("page")
    private int pageNo;
    @SerializedName("totalCount")
    private int totalCount;
    @SerializedName("totalPage")
    private int totalPage;
    @SerializedName("orders")
    private List<T> orders;

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<T> getOrders() {
        return orders;
    }

    public void setOrders(List<T> orders) {
        this.orders = orders;
    }
}
